Karcero : API Documentation

Type IMapProcessor<T>

Namespace Karcero.Engine.Contracts

A map processor performs some sort of modification to the map. The DungeonGenerator will apply any map processors added after the initial map generation process.

Methods

Public instance methods

void ProcessMap(Map<T> map, DungeonConfiguration configuration, IRandomizer randomizer)

The method that performs the map modification. Will be called by the DungeonGenerator.
Parameters
Map<T> map
The map to perform the modification on.
DungeonConfiguration configuration
The configuration for the map generation process.
IRandomizer randomizer
The randomizer to use during the processing.